package com.molichuxing.gateway.bff.order.entity.request.create;

import com.molichuxing.framework.dto.RequestRootDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 企业订单车辆新增vo
 *
 * @Author zoumingyu
 * @Date 2020年06月09日
 */
@Data
public class EnterpriseCarCreateVo extends RequestRootDto {
    private static final long serialVersionUID = -4703397652033624777L;

    @ApiModelProperty(value = "车辆id")
    @NotNull(message = "车辆id不能为空")
    private Integer carId;

    @ApiModelProperty(value = "车架号")
    @NotNull(message = "车架号不能为空")
    private String vin;

    @ApiModelProperty(value = "车牌号")
    @NotNull(message = "车牌号不能为空")
    private String licencePlate;

    @ApiModelProperty(value = "车型id")
    @NotNull(message = "车型id不能为空")
    private Integer modelId;

    @ApiModelProperty(value = "颜色id")
    @NotNull(message = "颜色id不能为空")
    private Integer colorId;

    @ApiModelProperty(value = "每月租金")
    @NotNull(message = "每月租金不能为空")
    private BigDecimal monthlyRental;

    @ApiModelProperty(value = "保证金")
    @NotNull(message = "保证金不能为空")
    private BigDecimal deposit;

    @ApiModelProperty(value = "里程上限（月度）")
    @NotNull(message = "里程上限不能为空")
    private Integer mileageUpper;
}
